package com.finance.report.bean.pojo;

import com.finance.framework.lang.BaseObject;
import lombok.Data;

/**
 *
 * 组织机构月报表查询数据bean
 */
@Data
public class OrganizationSalaryList extends BaseObject {
    /**
     * 组织机构编号
     */
    private String organizationCode;

    /**
     * 月份 格式：2017-03
     */
    private String salaryMonth;


    @Override
    public boolean equals(Object object) {
        if (object instanceof OrganizationSalaryList) {
            OrganizationSalaryList supplierSalary = (OrganizationSalaryList) object;
            return supplierSalary.getId().equals(super.getId());
        }
        return false;
    }

    @Override
    public int hashCode() {
        return this.getId().hashCode();
    }

}